package service;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.ui.Model;

import po.GoodsType;


public interface AdminTypeService {
	public List<GoodsType> getAllType();

	public boolean addType(String typename, Model model);

	public boolean deleteType(Integer id, Model model);
	
	public void updateType(Integer id,String name);
	//public String toDeleteType(Model model);

	//public String deleteType(Integer id, Model model);

}
